package Day07;

public class Test03 {
    public static void main(String[] args) {
        int j=0;//累计求和
        for (int i = 0; i <=100 ; i++) {
            if (i%2==0){
                j=j+i;

            }
        }
        System.out.println("100以内的偶数和为:"+j);
    }
}
